/*
 * @FilePath: \gp_manage_vue2\src\api\apiw.js
 * @Author: WSY
 * @Date: 2024-03-01 16:05:19
 * @LastEditTime: 2024-04-16 13:57:55
 * @Description: 
 */
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
import Vue from 'vue'
/**
 * 王圣元
 */

//查询所有题目分类
const getTopicClassificationList = () => getAction("/sys/topic/topicClassification/getAllList");
//添加练习
const addExamPracticeMain = (params) => postAction("/examPractice/examPracticeMain/add", params);
//查询练习列表
const getExamPracticeList = (params) => postAction("/examPractice/examPracticeMain/list", params);
//根据id查询练习
const queryById = (params) => getAction("/examPractice/examPracticeMain/queryById", params);
//编辑练习
const editExamPracticeMain = (params) => postAction("/examPractice/examPracticeMain/edit", params);
//查询报到人员列表
const getFaceTeachReport = (params) => getAction("/sys/faceTeach/t_faceTeachReport/list", params);
//后台点击报到 - 修改报到状态
const updateReport = (params) => postAction("/sys/faceTeach/t_faceTeachReport/updateReport", params);
//获取考勤场次日期
const getClassDate = (params) => getAction("/sys/faceTeach/faceTeachClassSignLog/getClassDate", params);
//获取考勤场次课程名称
const getClassName = (params) => getAction("/sys/faceTeach/faceTeachClassSignLog/getClassName", params);
//修改考勤状态
const updateAttendance = (params) => postAction("/sys/faceTeach/faceTeachClassSignLog/attendance", params);
//查询考勤记录
const getFaceTeachClassSignLog = (params) => getAction("/sys/faceTeach/faceTeachClassSignLog/list", params);
//学员调班班级查询
const getFaceTeachClassTransferList = (params) => getAction("/sys/faceTeach/faceTeachClassTransfer/list", params);
//学员调班保存
const saveFaceTeachClassTransfer = (params) => postAction("/sys/faceTeach/faceTeachClassTransfer/save", params);
//查询照片墙列表
const getTeacherPhotoList = (params) => getAction("/sys/faceTeach/t_teacherPhoto/list", params);

export {
    getTopicClassificationList,
    addExamPracticeMain,
    getExamPracticeList,
    queryById,
    editExamPracticeMain,
    getFaceTeachReport,
    updateReport,
    getClassDate,
    getClassName,
    updateAttendance,
    getFaceTeachClassSignLog,
    getFaceTeachClassTransferList,
    saveFaceTeachClassTransfer,
    getTeacherPhotoList
}
